package util.wcl
{
	import mx.formatters.NumberFormatter;
	
	public class NumUtil
	{
		
		/********************
		* 숫자 천단위 콤마 구분
		* ******************/
		public static function NumberFormat(num:Number):String
		{
			if(isNaN(num) || num==0) {
				return "0";
			}
			else {
	        	var numberFormat:NumberFormatter = new NumberFormatter();
	            return numberFormat.format(num);
	 		}
		}
	}
}